<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link href="https://cdn.bootcss.com/twitter-bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
    <link href="../static/ruoyi/css/ry-ui.css" th:href="@{/ruoyi/css/ry-ui.css?v=4.0.0}" rel="stylesheet"/>
    <link href="../static/css/style.css" th:href="@{/css/style.css}" rel="stylesheet"/>
    <link href="../static/js/lingshui/bootstrap-table/bootstrap-table.min.css" th:href="@{/js/lingshui/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
	<link href="../static/css/workboard.css" th:href="@{/css/workboard.css}" rel="stylesheet"/>
</head>

<body>
    <div class="container-div">
        <div class="tabsbody ">
            <div class="tabsbody-item active">
                <form action="">
                    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
                        <tbody>
                            
                            <tr>
                                <td>
                                    <table border="0" cellpadding="0" cellspacing="0" style="width: 80%;margin:0 auto">
                                        <tbody>
                                            <tr>
                                                <td>
                                                    <div class="page-title">
                                                        <h2>工程竣工验收备案申请信息</h2>
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <table style="width: 100%;">
                                                        <tbody>
                                                            <tr>
                                                                <td>
                                                                    <table class="table table-bordered" style="width: 100%;">
                                                                        <tbody>
                                                                            <tr>
                                                                                <td class="tdTitle">主管部门 </td>
                                                                                <td colspan="4" class="tdContent">
                                                                                    [[${cra.inChargeDepartment}]]
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td class="tdTitle">工程名称</td>
                                                                                <td class="tdContent">
                                                                                    [[${cra.engineeringName}]]
                                                                                </td>
                                                                                <td class="tdTitle">工程地址</td>
                                                                                <td colspan="2" class="tdContent">
                                                                                    [[${cra.engineeringAddress}]]
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td class="tdTitle">工程规模(m2)</td>
                                                                                <td class="tdContent">
                                                                                    [[${cra.engineeringScale}]]
                                                                                </td>
                                                                                <td class="tdTitle">工程类别</td>
                                                                                <td colspan="2" class="tdContent">
                                                                                    [[${cra.engineeringCategory}]]
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td class="tdTitle">结构类型</td>
                                                                                <td class="tdContent">
                                                                                    [[${cra.structureType}]]
                                                                                </td>
                                                                                <td class="tdTitle">规划许可证号</td>
                                                                                <td colspan="2" class="tdContent">
                                                                                    [[${cra.licenseNum}]]
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td class="tdTitle">施工许可证号</td>
                                                                                <td class="tdContent">
                                                                                    [[${cra.constructionNum}]]
                                                                                </td>
                                                                                <td class="tdTitle">监督注册号</td>
                                                                                <td colspan="2" class="tdContent">
                                                                                    [[${cra.supervisionRegNum}]]
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td class="tdTitle">开工日期</td>
                                                                                <td class="tdContent">[[${#dates.format(startDate,'yyyy-MM-dd')}]]</td>
                                                                <td class="tdTitle">竣工验收日期</td>
                                                                <td colspan="2" class="tdContent">[[${#dates.format(endDate,'yyyy-MM-dd')}]]</td>

                                                            </tr>
                                                            <tr>
                                                                <td class="tdTitle">实际工期(天)</td>
                                                                <td class="tdContent">[[${cra.actualDates}]]</td>
                                                                <td class="tdTitle">项目（业绩）类型 </td>
                                                                <td colspan="2" class="tdContent">[[${cra.projectPerformance}]]</td>

                                                            </tr>
                                                            <tr>
                                                                <td colspan="2" class="tdTitle"
                                                                    style="text-align: center;">单位名称</td>
                                                                <td class="tdTitle">资质等级</td>
                                                                <td class="tdTitle">负责人</td>
                                                                <td class="tdTitle">联系电话</td>
                                                            </tr>
                                                            <tr>
                                                                <td class="tdTitle">建设单位</td>
                                                                <td class="tdContent">
                                                                	<a th:if="${cra == null || cra.constructUnitId == '' || cra.constructUnitId == null || cra.constructUnit == '' || cra.constructUnit == null}"></a>
                                                					<a th:if="${cra != null && cra.constructUnitId != '' && cra.constructUnitId != null && cra.constructUnit != '' && cra.constructUnit != null}" href="#" th:text="${cra}==null or ${cra.constructUnit}==null ? ' ':${cra.constructUnit}" th:onclick="detailBuildTab([[${cra.constructUnit}]],[[${cra.constructUnitId}]])" style="color:Blue;"></a>
                                                                </td>
                                                                <td class="tdTitle">[[${cra.conTitleLevelNum}]]</td>
                                                                <td class="tdContent">[[${cra.conLegalPersonName}]] </td>
                                                                <td class="tdContent">[[${cra.conLinkPhone}]]</td>
                                                            </tr>
                                                            <tr>
                                                                <td class="tdTitle">勘察单位</td>
                                                                <td class="tdContent">
                                                                	<a th:if="${cra == null || cra.surveyUnitId == '' || cra.surveyUnitId == null || cra.surveyUnit == '' || cra.surveyUnit == null}"></a>
                                                					<a th:if="${cra != null && cra.surveyUnitId != '' && cra.surveyUnitId != null && cra.surveyUnit != '' && cra.surveyUnit != null}" href="#" th:text="${cra}==null or ${cra.surveyUnit}==null ? ' ':${cra.surveyUnit}" th:onclick="detailQiYeTab([[${cra.surveyUnit}]],[[${cra.surveyUnitId}]])" style="color:Blue;"></a>
                                                                </td>
                                                                <td class="tdTitle">[[${cra.surTitleLevelNum}]]</td>
                                                                <td class="tdContent">[[${cra.surLegalPersonName}]] </td>
                                                                <td class="tdContent">[[${cra.surLinkPhone}]]</td>
                                                            </tr>
                                                            <tr>
                                                                <td class="tdTitle">设计单位</td>
                                                                <td class="tdContent">
                                                                	<a th:if="${cra == null || cra.designUnitId == '' || cra.designUnitId == null || cra.designUnit == '' || cra.designUnit == null}"></a>
                                                					<a th:if="${cra != null && cra.designUnitId != '' && cra.designUnitId != null && cra.designUnit != '' && cra.designUnit != null}" href="#" th:text="${cra}==null or ${cra.designUnit}==null ? ' ':${cra.designUnit}" th:onclick="detailQiYeTab([[${cra.designUnit}]],[[${cra.designUnitId}]])" style="color:Blue;"></a>
                                                                </td>
                                                                <td class="tdTitle">[[${cra.desTitleLevelNum}]]</td>
                                                                <td class="tdContent">[[${cra.desConLegalPersonName}]] </td>
                                                                <td class="tdContent">[[${cra.desLinkPhone}]]</td>
                                                            </tr>
                                                            <tr>
                                                                <td class="tdTitle">施工单位</td>
                                                                <td class="tdContent">
                                                                	<a th:if="${cra == null || cra.constructionUnitId == '' || cra.constructionUnitId == null || cra.constructionUnit == '' || cra.constructionUnit == null}"></a>
                                                					<a th:if="${cra != null && cra.constructionUnitId != '' && cra.constructionUnitId != null && cra.constructionUnit != '' && cra.constructionUnit != null}" href="#" th:text="${cra}==null or ${cra.constructionUnit}==null ? ' ':${cra.constructionUnit}" th:onclick="detailQiYeTab([[${cra.constructionUnit}]],[[${cra.constructionUnitId}]])" style="color:Blue;"></a>
                                                                </td>
                                                                <td class="tdTitle">[[${cra.construcTitleLevelNum}]]</td>
                                                                <td class="tdContent">[[${cra.construcLegalPersonName}]]</td>
                                                                <td class="tdContent">[[${cra.construcLinkPhone}]]</td>
                                                            </tr>
                                                            <tr>
                                                                <td class="tdTitle">监理单位</td>
                                                                <td class="tdContent">
                                                                	<a th:if="${cra == null || cra.supervisionUnitId == '' || cra.supervisionUnitId == null || cra.supervisionUnit == '' || cra.supervisionUnit == null}"></a>
                                                					<a th:if="${cra != null && cra.supervisionUnitId != '' && cra.supervisionUnitId != null && cra.supervisionUnit != '' && cra.supervisionUnit != null}" href="#" th:text="${cra}==null or ${cra.supervisionUnit}==null ? ' ':${cra.supervisionUnit}" th:onclick="detailQiYeTab([[${cra.supervisionUnit}]],[[${cra.supervisionUnitId}]])" style="color:Blue;"></a>
                                                                </td>
                                                                <td class="tdTitle">[[${cra.supTitleLevelNum}]]</td>
                                                                <td class="tdContent">[[${cra.supLegalPersonName}]]</td>
                                                                <td class="tdContent">[[${cra.supLinkPhone}]]</td>
                                                            </tr>
                                                            <tr>
                                                                <td class="tdTitle">监督部门 </td>
                                                                <td class="tdContent">[[${cra.supervisionDepart}]]</td>
                                                                <td class="tdTitle">[[${cra.titleLevelNum}]]</td>
                                                                <td class="tdContent">[[${cra.legalPersonName}]]</td>
                                                                <td class="tdContent">[[${cra.linkPhone}]]</td>
                                                            </tr>
                                                            <tr>
                                                                <td class="tdTitle">备案理由</td>
                                                                <td colspan="4" class="tdContent">
                                                                    [[${cra.recordReason}]]
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="tdTitle">备案证号</td>
                                                                <td colspan="4" class="tdContent">[[${cra.recordNumber}]]</td>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <table cellpadding="0" cellspacing="0" class="tbEidt"
                                                        style="background-color: #ffffff;width: 100%">
                                                        <tbody>
                                                            <tr>
                                                                <td>
                                                                    <table cellpadding="0" cellspacing="0"
                                                                        style="width: 100%">
                                                                        <tbody>
                                                                            <tr>
                                                                                <td class="tdTitle"
                                                                                    style="text-align: center; width: 5%">
                                                                                    序号
                                                                                </td>
                                                                                <td class="tdTitle"
                                                                                    style="width: 55%; text-align: center">
                                                                                    竣工验收备案文件
                                                                                </td>
                                                                                <td class="tdTitle"
                                                                                    style="width: 10%; text-align: center">
                                                                                    审查结论
                                                                                </td>
                                                                                <td class="tdTitle"
                                                                                    style="width: 30%; text-align: center">
                                                                                    审查意见
                                                                                </td>
                                                                            </tr>
                                                                        </tbody>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <table cellspacing="0" cellpadding="0" border="0"
                                                                        style="border-width:0px;width:100%;border-collapse:collapse;">
                                                                        <tbody>
                                                                            <tr th:if="${proAccessList !=null && proAccessList.size()!=0}" th:each="proAccess,stat : ${proAccessList}">
                                                                            	<td class="tdTitle" style="text-align: center; width: 5%" th:text="${stat.count}"></td>
	                                                                            <td class="tdTitle" style="width: 45%;" th:text="${proAccess.chekFileName}"></td>
	                                                                            <td class="tdContent" style="width: 10%;" th:if="${proAccess.acceName!='' && proAccess.acceName!=null}"><a style="color:#0026FF;" rel="noopener noreferrer" th:href="${proAccess.acceName}">下载 </a></td>
	                                                                            <td class="tdContent" style="width: 10%" th:if="${proAccess.acceName=='' || proAccess.acceName==null}"><a style="color:Gray;">未上传附件 </a></td>
	                                                                            <td class="tdContent" style="text-align: center;width: 10%" th:text="${proAccess.checkResult}"></td>
	                                                                            <td class="tdContent" style="text-align: left;width: 30%" th:text="${proAccess.checkOpinion}"></td>
                                                                            </tr>
                                                                        </tbody>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>

                                </td>
                            </tr>
                        </tbody>
                    </table>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </form>
            </div>
    <div class="row">
        <div class="col-sm-offset-5 col-sm-10" th:if="${isclose!='false'}">
            <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
            <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
        </div>
    </div>
        </div>

    </div>
    

    <script src=" https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js">
    </script>
    <script src="https://cdn.bootcss.com/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
    <script src="../static/js/lingshui/bootstrap-table/bootstrap-table.min.js" th:src="@{/js/lingshui/bootstrap-table/bootstrap-table.min.js}"></script>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        $(document).ready(function () {
        	var pal=[[${proAccessList}]];
            $('.nav_tabs li').click(function () {
                $(this).addClass('active').siblings().removeClass('active');
                var index = $(this).index();
                $(".tabsbody .tabsbody-item").eq(index).show().siblings().hide();
                // $("#iframeMain").attr("src", $(this).attr("dy-id"));
                if($(this).text() == '返回'){
              	   window.history.back(-1);
                 };
            })
        });
        
        function submitHandler() {
        	/* $.operate.saveTab(prefix + "/edit", data); */
        	alert("审核流程开发中");
        }
        
        function detailQiYeTab(content,id){
        	url = "/enterprise/enterprise/detail/"+id;
        	$.modal.openTab(content+"详情", url);
        }
        
        function detailBuildTab(content,id){
        	url = "/enterprise/enterprise/bulidUnitDetail/"+id;
        	$.modal.openTab(content+"详情", url);
        }
    </script>
</body>

</html>